package cn.cloud.project.openfeign.config;

import feign.Retryer;

import java.util.concurrent.TimeUnit;

/**
 * 配置openfeign重试机制
 */
public class SimpleRetryer extends Retryer.Default {

    public SimpleRetryer() {
        super(100L, TimeUnit.SECONDS.toMillis(1L), 5);
    }

}
